package net.csdn.business.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName WebhookEventTypeEnum
 * @Description TODO
 * @Author zhangyl
 * @Date 2023/5/18 14:44
 */
@Getter
@AllArgsConstructor
public enum WebHookEventTypeEnum {

    PING("ping", "创建webhook配置的时候，发送ping事件"),
    PUSH("push", "仓库推送的push事件"),
    PULL_REQUESTS("pull_requests", "Pull request assigned, auto merge disabled, auto merge enabled, closed, converted to draft, demilestoned, dequeued, edited, enqueued, labeled, locked, milestoned, opened, ready for review, reopened, review request removed, review requested, synchronized, unassigned, unlabeled, or unlocked"),

    ;

    final String code;
    final String desc;

}
